
import Vue from 'vue'
import App from './App'
import router from './router'
import './assets/css/style.css'
import { http } from './http/api'
import store from './store'
import filter from './utils/filter.js'
import Vant from 'vant';
import 'vant/lib/index.css';
import VueJsonp from 'vue-jsonp'

Vue.prototype.$http = http
Vue.config.productionTip = false
Vue.use(Vant);
Vue.use(VueJsonp)

// import Vconsole from 'vconsole';
// new Vconsole();

// 注册全局过滤器
for (let i in filter) {
  Vue.filter(i, filter[i])
}

/* eslint-disable no-new */
new Vue({
    router,
    store,
  render: h => h(App),
}).$mount('#app')
